package s0516;

/**
 * Description: these message can be deleted
 * Author:sold out
 * Create Date: 2021/11/16 21:58
 * Version: JDK 1.8
 */
public class test {
    public static void main(String[] args) {
        Solution s = new Solution();
        // 测试数据
        String resource1 = "bbbab";
        String resource2 = "bbabab";
        String resource3 = "abcabc";
        String resource4 = "abbbcbc";
        // 测试
        System.out.println(s.longestPalindromeSubseq(resource1) == 4 ? true : false);
        System.out.println(s.longestPalindromeSubseq(resource2) == 5 ? true : false);
        System.out.println(s.longestPalindromeSubseq(resource3) == 3 ? true : false);
        System.out.println(s.longestPalindromeSubseq(resource4) == 4 ? true : false);

    }
}
